<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{@$pageTitle@}</title>
{#include file="Public:head" /#}
<style type="text/css">
  html { height:100%; }
  body { height:100%; }
</style>
<script type="text/javascript" language="javascript">
$(document).ready(function(){
  var $url = $("#menu li:first a").attr("href");
  $("#mainFrame", window.parent.document).attr("src",$url+"&t="+Math.random());

  $("#menu li").click(function(){
    $("#menu li.selected").removeClass("selected");
    $(this).addClass("selected");
  })
});
</script>
</head><body class="noScroll" scroll="no">
<div id="menu">
  <ul>
    {#switch name="route"#}
    {#case value="user"#}
    <li class="selected"><span class="icon_01"></span><a href="admin.php?m=admin&a=grouplist" target="mainFrame">管理组</a></li>
    <li><span class="icon_01"></span><a href="admin.php?m=admin&a=adminlist" target="mainFrame">管理员</a></li>
    {#/case#}
    {#case value="system"#}
    <li class="selected"><span class="icon_01"></span><a href="admin.php?m=system&a=site" target="mainFrame">站点参数</a></li>
    {#/case#}
    {#/switch#}
    {#volist name="sideMenu[$route]" id="menu"#}
    {#in name="route" value="user,system"#}
    <li><span class="icon_01"></span><a href="{@$menu.url@}" target="mainFrame">{@$menu.name@}</a></li>
    {#else/#}
    <li {#eq name="i" value="1"#}class="selected"{#/eq#}><span class="icon_01"></span><a href="{@$menu.url@}" target="mainFrame">{@$menu.name@}</a></li>
    {#/in#}
    {#/volist#}
    {#notin name="route" value="user,system"#}
    {#empty name="sideMenu[$route]"#}
    <li class="selected"><span class="icon_01"></span><a href="admin.php?m=index&a=main" target="mainFrame">后台系统首页</a></li>
    {#/empty#}
    {#/notin#}
  </ul>
</div>
</body>
</html>
